/*
 * Created on 25/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.ConfiguracionSchema;
import com.stefanini.pe.bbva.mbl.in.bo.iface.ConfiguracionSchemaBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.ConfiguracionSchemaDAO;

/**
 * @author LTORRES
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ConfiguracionSchemaBOImpl implements ConfiguracionSchemaBO {
	
	ConfiguracionSchemaDAO configuracionSchemaDAO;
	
	/**
	 * @param cargaLogDetalleDAO
	 */
	public ConfiguracionSchemaBOImpl(ConfiguracionSchemaDAO configuracionSchemaDAO) {
		super();
		this.configuracionSchemaDAO = configuracionSchemaDAO;
	}
	
	

	public int updateByPrimaryKey(ConfiguracionSchema configuracionSchema) {
        return this.configuracionSchemaDAO.updateByPrimaryKey(configuracionSchema);
    }

    public List selectAll() {
    	System.out.println("selectAll");
        return this.configuracionSchemaDAO.selectAll();
    }

    
    public ConfiguracionSchema selectByPrimaryKey(ConfiguracionSchema configuracionSchema) {
        return this.configuracionSchemaDAO.selectByPrimaryKey(configuracionSchema.getIdAplicativo());
    }
    
	public String consultarSchemaActivo(){
		return this.configuracionSchemaDAO.consultarSchemaActivo();
	}


		
}
